home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / quotacheck.z / quotacheck
Encoding:
Text File  |  1998-10-20  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. qqqquuuuoooottttaaaacccchhhheeeecccckkkk((((1111MMMM))))                                                  qqqquuuuoooottttaaaacccchhhheeeecccckkkk((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      quotacheck - EFS filesystem quota consistency checker
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////eeeettttcccc////qqqquuuuoooottttaaaacccchhhheeeecccckkkk [ ----vvvv ] [ ----pppp ] filesystem ...
  13.      ////uuuussssrrrr////eeeettttcccc////qqqquuuuoooottttaaaacccchhhheeeecccckkkk [ ----vvvv ] [ ----pppp ] ----aaaa
  14.      ////uuuussssrrrr////eeeettttcccc////qqqquuuuoooottttaaaacccchhhheeeecccckkkk [ ----vvvv ] ----nnnn nusers filesystem ...
  15.      ////uuuussssrrrr////eeeettttcccc////qqqquuuuoooottttaaaacccchhhheeeecccckkkk [ ----vvvv ] ----nnnn nusers ----aaaa
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _q_u_o_t_a_c_h_e_c_k examines local EFS filesystems, builds a table of current disk
  19.      usage, and compares this table against that stored in the disk quota file
  20.      for the filesystem.  If any inconsistencies are detected, both the _q_u_o_t_a_s
  21.      file and the current system copy of the incorrect quotas are updated (the
  22.      latter only occurs if quotas has been enabled for the filesystem).  The
  23.      filesystem has to be mounted for _q_u_o_t_a_c_h_e_c_k to be able to operate on it.
  24.      _q_u_o_t_a_c_h_e_c_k ignores XFS filesystems since the XFS quota system is
  25.      journalled and therefore inherently consistent.
  26.  
  27.      If the ----aaaa flag is supplied in place of any filesystem names, _q_u_o_t_a_c_h_e_c_k
  28.      checks all the local filesystems indicated in /_e_t_c/_f_s_t_a_b to be read-write
  29.      with disk quotas.
  30.  
  31.      Normally _q_u_o_t_a_c_h_e_c_k operates silently.  If the ----vvvv option is supplied,
  32.      _q_u_o_t_a_c_h_e_c_k indicates the disk quotas for each user whose quota
  33.      information was modified.
  34.  
  35.      If the ----pppp flag is supplied then parallel passes are run on the
  36.      filesystems required, using the pass numbers in /_e_t_c/_f_s_t_a_b in an
  37.      identical fashion to _f_s_c_k(1M).
  38.  
  39.      _q_u_o_t_a_c_h_e_c_k expects each filesystem to be checked to have a quota file
  40.      with the name _q_u_o_t_a_s in the root directory.  If none is present,
  41.      _q_u_o_t_a_c_h_e_c_k ignores the filesystem.
  42.  
  43.      The _q_u_o_t_a_s file has an index followed by the users' quota information.
  44.      If while adding users with the help of the _e_d_q_u_o_t_a(1M) command, there is
  45.      no more space left in the index, the superuser can increase the index
  46.      size with the ----nnnn option to permit the addition of more users to the
  47.      _q_u_o_t_a_s file.  _n_u_s_e_r_s is the new number of users for whom sufficient index
  48.      size should be allocated.  The default index size allows quotas for 2048
  49.      users.  It is not possible to shrink the index size.  It is advisable to
  50.      remount the filesystem after using this option.
  51.  
  52.      _q_u_o_t_a_c_h_e_c_k is normally run at boot time from the /_e_t_c/_r_c_2._d directory,
  53.      see _r_c_2(1M).
  54.  
  55.      _q_u_o_t_a_c_h_e_c_k accesses the raw device in calculating the actual disk usage
  56.      for each user.  Thus, the filesystems checked should be quiescent while
  57.      _q_u_o_t_a_c_h_e_c_k is running.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. qqqquuuuoooottttaaaacccchhhheeeecccckkkk((((1111MMMM))))                                                  qqqquuuuoooottttaaaacccchhhheeeecccckkkk((((1111MMMM))))
  71.  
  72.  
  73.  
  74. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  75.           quotacheck -v -n 3000 /usr
  76.  
  77.      Increases the _q_u_o_t_a_s file index size to support 3000 users (up from the
  78.      default of 2048) for the /_u_s_r filesystem.
  79.  
  80. FFFFIIIILLLLEEEESSSS
  81.      /etc/fstab     default filesystems
  82.  
  83. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  84.      fsck(1M), quotaon(1M), quotactl(2).
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.